<!--页面主要内容-->
<main class="lyear-layout-content">

  <div class="container-fluid p-t-15">

    <div class="row">
      <div class="col-lg-12">
        <div class="card">
          <div class="card-body">
            <form method="post" class="row">
              <!-- 用户名 -->
              <div class="form-group col-md-12">
                <label for="username">用户名</label>
                <input type="text" class="form-control" id="username" name="username" value="{$admin.username}"
                  placeholder="请输入用户名" />
              </div>

              <!-- 昵称 -->
              <div class="form-group col-md-12">
                <label for="nickname">昵称</label>
                <input type="text" class="form-control" id="nickname" name="nickname" value="{$admin.nickname}"
                  placeholder="请输入昵称" />
              </div>

              <!-- 原密码 -->
              <div class="form-group col-md-12">
                <label for="oldpass">原密码</label>
                <input type="password" class="form-control" id="oldpass" name="oldpass" placeholder="请输入原密码" />
              </div>

              <!-- 确认密码 -->
              <div class="form-group col-md-12">
                <label for="password">密码</label>
                <input type="password" class="form-control" id="password" name="password" placeholder="请输入密码" />
              </div>

              <!-- 确认密码 -->
              <div class="form-group col-md-12">
                <label for="repass">确认密码</label>
                <input type="password" class="form-control" id="repass" name="repass" placeholder="请输入确认密码" />
              </div>

              <!-- 状态 -->
              <div class="form-group col-md-12">
                <label for="state">状态</label>
                <div class="clearfix">
                  <div class="custom-control custom-radio custom-control-inline">
                    <input type="radio" id="stateOne" name="state" value="0" {$admin.state == 0 ? 'checked' : '' } class="custom-control-input">
                    <label class="custom-control-label" for="stateOne">禁用</label>
                  </div>
                  <div class="custom-control custom-radio custom-control-inline">
                    <input type="radio" id="stateTwo" name="state" value="1" {$admin.state == 1 ? 'checked' : '' } class="custom-control-input">
                    <label class="custom-control-label" for="stateTwo">启用</label>
                  </div>
                </div>
              </div>
              <div class="form-group col-md-12">
                <button type="submit" class="btn btn-primary" target-form="add-form">确 定</button>
                <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">
                  返回
                </button>
              </div>
            </form>

          </div>
        </div>
      </div>

    </div>

  </div>

</main>
<!--End 页面主要内容-->